package com.usts2022.classcostrecord.entity;

import java.io.Serializable;

public class Answer implements Serializable {

    private Long id;
    private Long questionId;
    private String answerPerson;
    private String content;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getQuestionId() {
        return questionId;
    }

    public void setQuestionId(Long questionId) {
        this.questionId = questionId;
    }

    public String getAnswerPerson() {
        return answerPerson;
    }

    public void setAnswerPerson(String answerPerson) {
        this.answerPerson = answerPerson;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Answer(Long questionId, String answerPerson, String content) {
        this.questionId = questionId;
        this.answerPerson = answerPerson;
        this.content = content;
    }

    public Answer() {
    }

    public Answer(Long id, Long questionId, String answerPerson, String content) {
        this.id = id;
        this.questionId = questionId;
        this.answerPerson = answerPerson;
        this.content = content;
    }
}
